package com.car.order.exception.serveOrderInfo;

public enum ServeOrderInfoExceptionCode {
    SERVE_ORDER_INFO_NOT_EXIST(90001,"该订单不存在"),
    SERVE_INFO_NOT_EXIST(90002,"该服务不存在"),
    SERVE_ORDER_INFO_STATE_ERROR(90003,"订单状态异常"),
    SERVE_INFO_STATE_ERROR(90004,"服务状态异常"),
            ;
    private Integer code;
    private String message;

    ServeOrderInfoExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
